var express = require('express');
var router = express.Router();


var sysConfigCtrl = require('../controllers/sysConfigCtrl');
router.get('/home', function (req, res) {

    return res.redirect(303, '/views/sysConfigHome.html');
});


router.get('/', sysConfigCtrl.get);
router.get('/:id', sysConfigCtrl.getOne);
router.post('/add', sysConfigCtrl.add);
router.post('/update', sysConfigCtrl.update);
router.get('/delete', sysConfigCtrl.remove);



module.exports = router;
